package org.lemon.transport.context.service.event;

import lombok.Getter;
import org.lemon.transport.context.data.device.Device;
import org.springframework.context.ApplicationEvent;

public class DeviceUpdatedEvent extends ApplicationEvent {

    private static final long serialVersionUID = -7453664970966733857L;

    @Getter
    private final Device device;

    public DeviceUpdatedEvent(Object source, Device device) {
        super(source);
        this.device = device;
    }
}
